package com.ruoyi.project.surveys.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.TreeEntity;

/**
 * 题目主题对象 surveys_question_motif
 * 
 * @author zhimin-hu
 * @date 2020-05-02
 */
public class SurveysQuestionMotif extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 题型ID */
    private Long questionMotifId;

    /** 题型名称 */
    @Excel(name = "题型名称")
    private String questionMotifName;

    /** 描述说明 */
    @Excel(name = "描述说明")
    private String description;

    /** 删除标志 */
    private String delFlag;

    public void setQuestionMotifId(Long questionMotifId) 
    {
        this.questionMotifId = questionMotifId;
    }

    public Long getQuestionMotifId() 
    {
        return questionMotifId;
    }
    public void setQuestionMotifName(String questionMotifName) 
    {
        this.questionMotifName = questionMotifName;
    }

    public String getQuestionMotifName() 
    {
        return questionMotifName;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("questionMotifId", getQuestionMotifId())
            .append("parentId", getParentId())
            .append("questionMotifName", getQuestionMotifName())
            .append("description", getDescription())
            .append("orderNum", getOrderNum())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
